<?php

if (Http::isPost()) {
    $cf_value = Form::input('about');
    $cf_value2 = Form::input('about2');
    if (isset($cf_value)) {
        if (Config::set('about', $cf_value)) {
            Js::alert(fl('success_update'));
            Js::GoUrl(baseUrl() . '/home');
            exit();
        }
    }
    if (isset($cf_value2)) {
        if (Config::set('about2', $cf_value2)) {
            Js::alert(fl('success_update'));
            Js::GoUrl(baseUrl() . '/home');
            exit();
        }
    }
}
?>
